package com.nny.wlw;

public class Zfb extends Pay{
    double m=150;
    @Override
    public void pay(double money) {
            if (m>=money){
                System.out.println("支付宝"+money);
                m=m-money;
                System.out.println("你的余额为"+m);
            }
            else {
                System.out.println("你的余额不足");
            }
        }

    }

